package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备对象 device
 * 
 * @author ruoyi
 * @date 2025-01-17
 */
public class Device extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备代码 */
    @Excel(name = "设备代码")
    private String code;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 是否认证 */
    @Excel(name = "是否认证")
    private Integer isAuth;

    /** 认证标志 */
    @Excel(name = "认证标志")
    private String authFlag;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String info;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIsAuth(Integer isAuth) 
    {
        this.isAuth = isAuth;
    }

    public Integer getIsAuth() 
    {
        return isAuth;
    }
    public void setAuthFlag(String authFlag) 
    {
        this.authFlag = authFlag;
    }

    public String getAuthFlag() 
    {
        return authFlag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("isAuth", getIsAuth())
            .append("authFlag", getAuthFlag())
            .append("status", getStatus())
            .append("info", getInfo())
            .toString();
    }
}
